package org.lds.message.center.admin.business.template.model.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 根据业务主键获取信息 - 请求
 *
 * @author lidongsheng
 * @since 2024-12-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class TemplateBaseGetByKeyRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 应用ID
     */
    private Long appId;
    /**
     * 名称
     */
    private String name;
    /**
     * 描述
     */
    private String desc;
    /**
     * 状态 1:启用 0:停用
     */
    private Boolean enable;
    /**
     * 主题
     */
    private String subject;
    /**
     * 内容
     */
    private String text;
    private boolean hasBusinessKey = false;

}
